<template>
  <div>这是Home页面</div>
</template>

<script>
export default {
  name: "Home",
  created() {
    console.log('Home--组件被创建');
  },
  unmounted() {
    console.log('Home--组件被销毁');
  },
  activated() {
    console.log('Home##keep-alive 缓存的组件激活时调用');
  },
  deactivated() {
    console.log('Home##keep-alive 缓存的组件停用时调用');
  }
}
</script>

<style scoped>

</style>